cmake_minimum_required(VERSION 3.20)

# set the project name
project(demo)

# add the executable
aux_source_directory(. SRC_LIST) # 等价于set(SRC_LIST main.cpp myMath.cpp)
add_executable(${PROJECT_NAME} ${SRC_LIST})